* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

@font-face {
    font-family: h1;
    src: url(fonts/journal.ttf);
}

h1 {
    font-family: h1;
    font-size: 84px;
    text-align: center;
    font-weight: 500;
}

h2 {
    text-align: center;
    font-size: 24px;
}

body {
    z-index: 1;
    background-color: #F6F4F3;
    color: black;
}

.new-message-box::after {
    content: "";
    clear: both;
    display: table
}

.new-message-box {
    display: none;
    position: fixed;
    top: 90px;
    z-index: 10;
    right: 0px;
    margin-left: 15px;
    padding-left: 20px;
    margin-bottom: 25px !important;
}

.maincontent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 82px;
}

.topcontent::after {
    content: "";
    clear: both;
    display: table;
}

.topcontent {
    width: 100%;
    padding: 20px;
    margin-bottom: 50px;
}


.searchbar {
    float: none;
    text-align: center;
    margin-right: 10px;
    margin-top: 10px;
}

    .searchbar input[type=text] {
        padding: 8px;
        font-size: 17px;
        border-radius: 5px;
        border: none;
    }

    .searchbar input:active {
        border: none;
    }

    .searchbar button {
        padding: 9px 12px;
        font-size: 17px;
        background-color: #FCAB4C;
        border-radius: 5px;
        border: none;
        cursor: pointer;
    }

        .searchbar button:hover {
            background-color: #FCAB4C;
        }


.side-menu {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    height: auto;
    z-index: 5;
}

    .side-menu .filters-btn-label {
        display: block;
        position: fixed;
        top: 97px;
        left: 15px;
        z-index: 5;
        background-color: #FCAB4C;
        border-radius: 25px;
        font-size: 24px;
    }

    .side-menu #filters-btn {
        opacity: 0;
        position: fixed;
        top: 97px;
        left: 15px;
    }

    .side-menu .filtersIco {
        padding: 10px 13px;
    }

    .side-menu #filters-btn:checked ~ .product-nav {
        height: auto;
        background-color: white;
    }

.side-menu-text {
    height: auto;
    width: 100%;
    font-size: 24px;
    text-align: center;
    padding: 15px;
    margin-top: 25px;
}

.product-nav {
    display: block;
    position: fixed;
    margin-top: 70px;
    margin-left: 15px;
    height: 0px;
    width: 85%;
    overflow: hidden;
    transition: transform ease-in-out 0.3s;
    border-radius: 10px;
    background-color: #F6F4F3;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
}

    .product-nav .dropdown {
        margin: auto;
        margin-bottom: 25px;
        max-width: 400px;
        padding: 0px 10px;
    }

.dropdown label {
    display: block;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    font-size: 20px;
    padding: 15px;
    background-color: #F6F4F3;
    text-align: center;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
}

    .dropdown label:hover {
        border: 1px solid #FCAB4C;
    }

.dropdown .btn {
    opacity: 0;
    position: absolute;
}

.dropdown .arrow {
    float: right;
    height: auto;
    transition: transform ease-in-out 0.3s;
}

.dropdown .dropdown-list {
    height: 0;
    width: 100%;
    overflow: hidden;
    transition: transform ease-in-out 0.3s;
}

.dropdown-item {
    padding: 15px;
    font-size: 18px;
    text-align: center;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

    .dropdown-item input[type="checkbox"] {
        float: left;
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        margin: 0;
        color: currentColor;
        width: 20px;
        height: 20px;
        border: 2px solid currentColor;
        border-radius: 3px;
        transform: translateY(-0.075em);
        display: grid;
        place-content: center;
    }

        .dropdown-item input[type="checkbox"]:hover {
            color: #FCAB4C;
        }

        .dropdown-item input[type="checkbox"]:checked {
            color: #FCAB4C;
        }

        .dropdown-item input[type="checkbox"]::before {
            content: "";
            width: 0.65em;
            height: 0.65em;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em var(--form-control-color);
            background-color: black;
            transform-origin: bottom left;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        }

        .dropdown-item input[type="checkbox"]:checked::before {
            transform: scale(1);
        }

.product-nav .btn:checked + label > .arrow {
    transform: rotate(180deg);
}

.product-nav #source-btn:checked ~ .source {
    height: auto;
}

.product-nav #size-btn:checked ~ .size {
    height: auto;
}

.product-nav #categ-btn:checked ~ .categ {
    height: auto;
}

.product-nav #prdt-btn:checked ~ .prdt {
    height: auto;
}

.product-nav .clearFiltersBtn {
    display: block;
    margin: auto;
    margin-bottom: 25px;
    background-color: #FCAB4C;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    padding: 15px;
}

.centerContent {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex: auto;
    opacity: 1;
}

.side-menu:has(#filters-btn:checked) + .centerContent {
    opacity: 0.4;
}

.centerContent p {
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

.productCategory {
    width: 100%;
}

.categoryItem {
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.categoryItem:hover {
    transform: scale(1.05);
}

.categoryItem h2 {
    padding: 15px;
    
}

.categoryItem .line {
    width: 150px;
    margin: auto;
    border-bottom: 2px solid #FCAB4C;
}

.categ p {
    padding: 10px;
}

@media only screen and (min-width: 800px) {


    .path {
        margin: auto;
        float: left;
    }

    .searchbar {
        margin: auto;
        float: right;
    }
}

@media only screen and (min-width: 1050px) {

    .content {
        padding: 0px;
    }

    .maincontent {
        flex-wrap: nowrap;
    }

    .side-menu {
        flex-basis: 400px;
        height: 100%;
    }

        .side-menu .filters-btn-label {
            display: none;
        }

    .side-menu-text {
        margin-top: 200px;
    }

    .product-nav {
        position: relative;
        height: auto;
        width: 100%;
        margin-left: 15px;
        overflow: visible;
        margin-top: 0px;
        box-shadow: none;
    }

        .product-nav .dropdown {
            width: 100%;
        }

    .dropdown label {
        background-color: white;
    }

    .centerContent {
        padding: 10px 50px;
    }
}
